﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Fadada.OpenAPI.Events;

namespace Fadada.OpenAPI
{
    /// <summary>
    /// 异步通知事件处理接口
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IEventHandler<T> where T : IEvent, new()
    {
        void Handler(T eventModel);
    }
}